/**
 * @projectName demo-master
 * @fileName User.java
 * @packageName org.example.nacos.data.model
 * @author xaoyaoyao
 * @date 2021/3/24 14:07
 * @version V1.0
 * @copyright (c) 2021, xaoyaoyao@aliyun.com All Rights Reserved.
 */
package org.example.nacos.mysql.model;

import java.io.Serializable;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @className User
 * @description
 * @author xaoyaoyao
 * @date 2021/3/24 14:07
 */
@Entity
@Table(name = "uc_user")
public class User implements Serializable {

	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	private Long id;

	private String name;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
}
